fix rounded corners in the call notification
authorJyrki Gadinger <nilsding@nilsding.org>
Wed, 12 Feb 2025 15:42:30 +0000 (16:42 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 13 Feb 2025 08:36:28 +0000 (08:36 +0000)
also enforce a non-transparent base background colour (e.g. for Win11)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
src/gui/tray/CallNotificationDialog.qml

index 8ab7bc6665f86b95eee4d286c578e5e0e7503cab..3050540279798778c56a20f73debeb8be5a9ec30 100644 (file)
@@ -24,7 +24,7 @@ import Qt5Compat.GraphicalEffects
 
 ApplicationWindow {
     id: root
-    color: palette.base
+    color: "transparent"
     flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
 
     readonly property int windowSpacing: 10
@@ -89,7 +89,7 @@ ApplicationWindow {
         width: parent.width
         height: contentLayout.height + (root.windowSpacing * 2)
         radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius
-        color: palette.base
+        color: Style.colorWithoutTransparency(palette.base)
         border.width: Style.trayWindowBorderWidth
         border.color: palette.dark
         clip: true